<!DOCTYPE HTML>
<html lang="zh-tw" >

    <head>

        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>源码下载 | Pholcus 完全手册</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.2.0">
        <meta name="author" content="pholcus">

        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    <link rel="stylesheet" href="/assets/src/themes/gitbooks/css/style.css">


        <!-- <link rel="stylesheet" href="../styles/website.css"> -->





    <link rel="next" href="../zh/01.2.html" />


    <link rel="prev" href="../index.html" />



    </head>
    <body>


    <div class="book" data-level="1.1" data-basepath=".." data-revision="Mon Aug 31 2015 08:50:00 GMT+0000 (UTC)">


<div class="book-summary">
    <div class="book-search">
        <input type="text" placeholder="輸入並搜尋" class="form-control" />
    </div>
    <ul class="summary">




            <li>
                <a href="https://www.gitbook.com/book/pholcus/docs" target="blank" class="custom-link">Pholcus 完全手册</a>
            </li>




        <li class="divider"></li>




        <li class="chapter " data-level="0" data-path="index.html">


                    <a href="../index.html">

                        <i class="fa fa-check"></i>

                        Introduction
                    </a>


        </li>

        <li class="chapter " data-level="1" >

            <span><b>1.</b> 安装</span>


            <ul class="articles">


        <li class="chapter active" data-level="1.1" data-path="zh/01.1.html">


                    <a href="../zh/01.1.html">

                        <i class="fa fa-check"></i>

                            <b>1.1.</b>

                        源码下载
                    </a>


        </li>

        <li class="chapter " data-level="1.2" data-path="zh/01.2.html">


                    <a href="../zh/01.2.html">

                        <i class="fa fa-check"></i>

                            <b>1.2.</b>

                        编译运行
                    </a>


        </li>


            </ul>

        </li>

        <li class="chapter " data-level="2" data-path="zh/02.0.html">


                    <a href="../zh/02.0.html">

                        <i class="fa fa-check"></i>

                            <b>2.</b>

                        框架流程
                    </a>


        </li>

        <li class="chapter " data-level="3" data-path="zh/03.0.html">


                    <a href="../zh/03.0.html">

                        <i class="fa fa-check"></i>

                            <b>3.</b>

                        采集规则
                    </a>


            <ul class="articles">


        <li class="chapter " data-level="3.1" data-path="zh/03.1.html">


                    <a href="../zh/03.1.html">

                        <i class="fa fa-check"></i>

                            <b>3.1.</b>

                        Spider 包讲解
                    </a>


        </li>

        <li class="chapter " data-level="3.2" data-path="zh/03.2.html">


                    <a href="../zh/03.2.html">

                        <i class="fa fa-check"></i>

                            <b>3.2.</b>

                        Request 结构体
                    </a>


        </li>

        <li class="chapter " data-level="3.3" data-path="zh/03.3.html">


                    <a href="../zh/03.3.html">

                        <i class="fa fa-check"></i>

                            <b>3.3.</b>

                        Response 结构体
                    </a>


        </li>

        <li class="chapter " data-level="3.4" data-path="zh/03.4.html">


                    <a href="../zh/03.4.html">

                        <i class="fa fa-check"></i>

                            <b>3.4.</b>

                        添加一条简单规则
                    </a>


        </li>

        <li class="chapter " data-level="3.5" data-path="zh/03.5.html">


                    <a href="../zh/03.5.html">

                        <i class="fa fa-check"></i>

                            <b>3.5.</b>

                        动态字段用法实例
                    </a>


        </li>

        <li class="chapter " data-level="3.6" data-path="zh/03.6.html">


                    <a href="../zh/03.6.html">

                        <i class="fa fa-check"></i>

                            <b>3.6.</b>

                        动态Rule用法实例
                    </a>


        </li>


            </ul>

        </li>




        <li class="divider"></li>
        <li>
            <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                本書使用 GitBook 釋出
            </a>
        </li>

    </ul>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header">
    <!-- Actions Left -->
    <a href="#" class="btn pull-left toggle-summary" aria-label="目錄"><i class="fa fa-align-justify"></i></a>
    <a href="#" class="btn pull-left toggle-search" aria-label="搜尋"><i class="fa fa-search"></i></a>

    <div id="font-settings-wrapper" class="dropdown pull-left">
        <a href="#" class="btn toggle-dropdown" aria-label="字型設定"><i class="fa fa-font"></i>
        </a>
        <div class="dropdown-menu font-settings">
    <div class="dropdown-caret">
        <span class="caret-outer"></span>
        <span class="caret-inner"></span>
    </div>

    <div class="buttons">
        <button type="button" id="reduce-font-size" class="button size-2">A</button>
        <button type="button" id="enlarge-font-size" class="button size-2">A</button>
    </div>

    <div class="buttons font-family-list">
        <button type="button" data-font="0" class="button">襯線體</button>
        <button type="button" data-font="1" class="button">無襯線體</button>
    </div>

    <div class="buttons color-theme-list">
        <button type="button" id="color-theme-preview-0" class="button size-3" data-theme="0">白色</button>
        <button type="button" id="color-theme-preview-1" class="button size-3" data-theme="1">棕褐色</button>
        <button type="button" id="color-theme-preview-2" class="button size-3" data-theme="2">夜間</button>
    </div>
</div>

    </div>

    <!-- Actions Right -->

    <div class="dropdown pull-right">
        <a href="#" class="btn toggle-dropdown" aria-label="分享"><i class="fa fa-share-alt"></i>
        </a>
        <div class="dropdown-menu font-settings dropdown-left">
            <div class="dropdown-caret">
                <span class="caret-outer"></span>
                <span class="caret-inner"></span>
            </div>
            <div class="buttons">
                <button type="button" data-sharing="twitter" class="button">
                    分享到 Twitter
                </button>
                <button type="button" data-sharing="google-plus" class="button">
                    分享到 Google
                </button>
                <button type="button" data-sharing="facebook" class="button">
                    分享到 Facebook
                </button>
                <button type="button" data-sharing="weibo" class="button">
                    分享到 Weibo
                </button>
                <button type="button" data-sharing="instapaper" class="button">
                    分享到 Instapaper
                </button>
            </div>
        </div>
    </div>



    <a href="#" target="_blank" class="btn pull-right google-plus-sharing-link sharing-link" data-sharing="google-plus" aria-label="Google"><i class="fa fa-google-plus"></i></a>


    <a href="#" target="_blank" class="btn pull-right facebook-sharing-link sharing-link" data-sharing="facebook" aria-label="Facebook"><i class="fa fa-facebook"></i></a>


    <a href="#" target="_blank" class="btn pull-right twitter-sharing-link sharing-link" data-sharing="twitter" aria-label="Twitter"><i class="fa fa-twitter"></i></a>





    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../" >Pholcus 完全手册</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1">
                <div class="page-inner">


                    <section class="normal" id="section-">

                        <h2 id="1-%E5%AE%89%E8%A3%85">1 &#x5B89;&#x88C5;</h2>
<h3 id="1-1-%E4%B8%8B%E8%BD%BD%E6%BA%90%E7%A0%81">1.1 &#x4E0B;&#x8F7D;&#x6E90;&#x7801;</h3>
<ol>
<li><p>&#x4E0B;&#x8F7D;&#x7B2C;&#x4E09;&#x65B9;&#x4F9D;&#x8D56;&#x5305;&#x6E90;&#x7801;&#xFF0C;&#x653E;&#x81F3; GOPATH/src &#x76EE;&#x5F55;&#x4E0B; <a href="https://github.com/pholcus/dependent/archive/master.zip" target="_blank">[&#x70B9;&#x51FB;&#x4E0B;&#x8F7D; ZIP]</a></p>
</li>
<li><p>&#x4E0B;&#x8F7D;&#x4FDD;&#x6301;&#x66F4;&#x65B0;&#x72B6;&#x6001;&#x7684;&#x6E90;&#x7801;&#xFF0C;&#x547D;&#x4EE4;&#x884C;&#x5982;&#x4E0B;</p>
<pre><code>go get github.com/henrylee2cn/pholcus
</code></pre><p>&#x5907;&#x6CE8;&#xFF1A;Pholcus&#x516C;&#x5F00;&#x7EF4;&#x62A4;&#x7684;spider&#x89C4;&#x5219;&#x5E93;&#x5730;&#x5740;<br> <a href="https://github.com/pholcus/spider_lib" target="_blank">https://github.com/pholcus/spider_lib</a></p>
</li>
</ol>


                    </section>


                </div>
            </div>
        </div>


        <a href="../index.html" class="navigation navigation-prev " aria-label="Previous page: Introduction"><i class="fa fa-angle-left"></i></a>


        <a href="../zh/01.2.html" class="navigation navigation-next " aria-label="Next page: 编译运行"><i class="fa fa-angle-right"></i></a>

    </div>
</div>


<script src="/assets/src/themes/gitbooks/scripts/app.js"></script>

<script>
require(["gitbook"], function(gitbook) {
    var config = {"fontSettings":{"theme":null,"family":"sans","size":2}};
    gitbook.start(config);
});
</script>


    </body>

</html>
